package cn.fresh.xuanyuan.module.member.dal.dataobject.message;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.time.LocalDateTime;

@TableName("member_message")
@Data
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class MessageDO {

    @TableId(value = "id", type = IdType.AUTO)
    private String id;

    private Long userId;

    private Integer msgType;

    private String content;

    private Boolean readStatus;

    private Integer sendStatus;

    private LocalDateTime createTime;

    private LocalDateTime readTime;

    private Long tenantId;

    private Boolean deleted;
}
